package org.jinyan.admin.service;

import java.util.List;

import org.jinyan.admin.model.MyUser;

public interface IUserService {

	public List<MyUser> selectUserList(int page, int size, char userType,
			String userName);

	public boolean deleteUserById(int userId);

	public boolean deleteUserListById(int[] ids);

	public boolean checkUserName(String userName);

	public boolean addUser(MyUser user);

	public MyUser selectUserById(int userId);

	public boolean updateUser(MyUser user);

	public String login(String userName, String userPwd, char userType);

}
